package com.boot.main.mapper;

import com.boot.main.entity.BcomCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface BcomCategoryMapper {
    List<BcomCategory> getCategorys(Integer status);
    Integer saveCategory(BcomCategory category);
    Integer updateCategory(BcomCategory category);
    Integer deleteCategory(@Param("id") Long id);
}
